export { }
interface Post {
    id: number
    title: string
    content: string
    //非必需
    subtitle?: string
    //不允许修改 只读成员
    readonly summary: string
}

interface Cache {
    //动态成员
    [key: string]: string
}
const cache1: Cache = {}
cache1.hello = "good"